

export function getToken (){

  var tokenString =  window.localStorage.getItem('token');
  
  if(tokenString){
    var token = JSON.parse(tokenString)
    return token
  }
}

export function removeToken (){
  window.localStorage.removeItem('token')
}
